home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 20
/
Cream of the Crop 20 (Terry Blount) (1996).iso
/
bbs
/
ny_010w1.zip
/
NY_JPSRC.ZIP
/
JACKPOT.H
< prev
next >
Wrap
C/C++ Source or Header
|
1995-08-23
|
3KB
|
88 lines
#include "opendoor.h" // Must be included in all doors with odoors
#include <stdio.h> //library include files
#include <string.h>
#include <stdlib.h>
#include <dir.h>
#include <dos.h>
#include <conio.h>
#include <limits.h>
//ny's enumerated types
typedef enum {HANDS,PEPPER,KNIFE,CHAIN,GUN,RIFLE,LASER_GUN,SHOTGUN,MACHINEGUN,GRANADE_LAUNCHER,BLASTER,A_BOMB} weapon;
typedef enum {POT,HASH,LSD,COKE,PCP,HEROIN} drug_type;
typedef enum {MALE,FEMALE} sex_type;
typedef enum {HEADBANGER,HIPPIE,BIG_FAT_DUDE,CRACK_ADDICT,PUNK} guy_type;
typedef enum {NONE,CRAPS,HERPES,SYPHILIS,AIDS} desease;
typedef enum {ALIVE,UNCONCIOUS,DEAD} guy_status;
typedef enum {NOWHERE,MOTEL,REG_HOTEL,EXP_HOTEL} hotel_type;
typedef enum {CENTRAL_PARK,EVIL_STUFF,BANK,HEALING,FOOD,DRUGS,ARMS,SEX,MAIL,
REST,P_FIG,C_FIG,S_FIG,ENTRY_1,ENTRY_2,ONLINE,NEWZ,LIST,
CONSIOUS,ATTACK,WIN,MAINT_RUN,WEAPONS,COPS,NEW,NATION,
OTHER,NEW_NAME,NEW_WIN,NEW_LOOSE,TEN_BEST,BUSTED,ASS_KICKED,
ASS_KICKED_P,ASS_KICKED_O,COLORS_HELP,CH_DRUG,END} menu_t;
//ny's user record structure
typedef struct {
//character files
char bbsname[36], //the BBS name of the user
name[25], //the name of the character
say_win[41], //what the user says when he wins
say_loose[41]; // " " " " " " looses
//integer records
int rank, //user rank
days_not_on, //days the user has been inactive
strength, //attacking strenght of the user
defense, //defensive strenght
condoms, //condoms user has
since_got_laid, //days since the user last got laid
drug_hits, //the hist that the user has
drug_days_since; //if addicted how long the user
//has not used the drug
//long type records
long hitpoints, //users hitpoints
maxhitpoints; //maximum of the users hitpoints
//unsigned long type record
unsigned long points, //users points
money, //money in hand
bank; //money in bank
//unsigned char type records used as values
unsigned char level, //user level
turns, //fight the user has left today
hunger, // % of hunger
sex_today, //sex turns left today
std_percent, // % of current std
drug_addiction, // % of drug addiction
drug_high, // % of how "high" the player is
hotel_paid_fer, //for how many more days the hotel
//is paid for
days_in_hospital;//how many days has the use been
//in hospital
/*enumerated types stored as char!!! (not int)*/
guy_status alive; //user: alive, unconsious, or dead
sex_type sex; //user sex: Male, Female
guy_type nation; //what is he:
//punk, headbanger ...
weapon arm; //players weapon
desease std; //current player std
drug_type drug; //current player drug type
hotel_type rest_where; //where the user is staying lately
/*added values BETA 9*/
char wtc; //# of wtc bombings allowed per day
//default=1
char poison; //number of poisoning of watr allowed
//per day, default=1
/*reserved for future use 8 bytes reset to 0*/
int res1,
res2,
res3,
res4;
} user_rec;